<script setup lang="ts">
import { seoConfig } from '~/config/seo'

useSeoMeta({
  title: seoConfig.auth.bankVerify.title,
  description: seoConfig.auth.bankVerify.description,
  keywords: seoConfig.auth.bankVerify.keywords
})

const advantages = [
  { icon: 'lucide:credit-card', title: '银行直连', description: '对接银联及各大银行数据，确保验证权威' },
  { icon: 'lucide:shield-check', title: '四要素验证', description: '验证银行卡号、姓名、身份证号、手机号一致性' },
  { icon: 'lucide:zap', title: '实时验证', description: '实时查询，快速返回验证结果' },
  { icon: 'lucide:lock', title: '交易安全', description: '保障支付安全，防止资金风险' },
  { icon: 'lucide:shield', title: '防欺诈', description: '有效防止银行卡盗用和欺诈行为' },
  { icon: 'lucide:check-circle', title: '高准确率', description: '验证准确率99.9%以上' }
]

const scenarios = [
  { icon: 'lucide:landmark', title: '支付平台', description: '银行卡绑定、提现认证、交易验证', color: 'from-blue-500 to-cyan-500' },
  { icon: 'lucide:wallet', title: '电子钱包', description: '实名认证、充值提现、资金安全', color: 'from-purple-500 to-pink-500' },
  { icon: 'lucide:credit-card', title: '互联网金融', description: '贷款审核、投资认证、风控验证', color: 'from-green-500 to-emerald-500' },
  { icon: 'lucide:shopping-cart', title: '电商平台', description: '商家入驻、交易保障、资金结算', color: 'from-orange-500 to-red-500' },
  { icon: 'lucide:banknote', title: '保险理赔', description: '投保验证、理赔审核、资金支付', color: 'from-indigo-500 to-blue-500' },
  { icon: 'lucide:building-2', title: '企业服务', description: '工资发放、财务管理、费用报销', color: 'from-yellow-500 to-orange-500' }
]
</script>

<template>
  <div class="min-h-screen">
    <ProductHero
      title="银行卡四要素"
      description="验证银行卡号、姓名、身份证号、手机号的一致性，保障金融交易安全，防止资金损失和欺诈风险"
    />
    <section class="py-10 md:py-15 bg-gray-50">
      <div class="mx-auto px-4 max-w-6xl">
        <div class="text-center mb-8 md:mb-10">
          <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">产品优势</h2>
          <p class="text-lg text-gray-600">保障交易安全，防范金融风险</p>
        </div>
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
          <div v-for="(advantage, index) in advantages" :key="index" class="bg-white rounded-2xl p-6 md:p-8 shadow-sm hover:shadow-lg transition-all group">
            <div class="w-14 h-14 bg-gradient-to-br from-orange-500 to-red-500 rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform">
              <Icon :name="advantage.icon" class="w-7 h-7 text-white" />
            </div>
            <h3 class="text-xl font-bold text-gray-900 mb-3">{{ advantage.title }}</h3>
            <p class="text-gray-600 leading-relaxed">{{ advantage.description }}</p>
          </div>
        </div>
      </div>
    </section>
    <section class="py-10 md:py-15 bg-white">
      <div class="mx-auto px-4 max-w-6xl">
        <div class="text-center mb-8 md:mb-10">
          <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">行业应用场景</h2>
          <p class="text-lg text-gray-600">金融场景必备的安全验证</p>
        </div>
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
          <div v-for="(scenario, index) in scenarios" :key="index" class="group relative bg-white rounded-2xl p-6 md:p-8 border-2 border-gray-100 hover:border-transparent hover:shadow-xl transition-all overflow-hidden">
            <div class="absolute inset-0 bg-gradient-to-br opacity-0 group-hover:opacity-10 transition-opacity" :class="scenario.color" />
            <div class="relative">
              <div class="w-14 h-14 rounded-xl flex items-center justify-center mb-6 bg-gradient-to-br" :class="scenario.color">
                <Icon :name="scenario.icon" class="w-7 h-7 text-white" />
              </div>
              <h3 class="text-xl font-bold text-gray-900 mb-3">{{ scenario.title }}</h3>
              <p class="text-gray-600 leading-relaxed">{{ scenario.description }}</p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- CTA 部分 -->
    <CallToAction />
  </div>
</template>
